/**
 * Copyright (C) 2012 The SkyTvOS Project
 *
 * Version     Date           Author
 * ─────────────────────────────────────
 *           2015-3-6         yellowlgx
 *
 */

package com.skyworth.ui.menu;

import java.io.Serializable;

/**
 * @ClassName SkyMenuData
 * @Description TODO (write something)
 * @author yellowlgx
 * @date 2015-3-6
 * @version TODO (write something)
 */
public class SkyMenuData implements Serializable
{
    private static final long serialVersionUID = 1L;

    private int itemFocusIcon = -1;
    private int itemUnFocusIcon = -1;
    private int itemIconBg = -1;
    private int itemCornerIcon = -1;

    private String title = null;

    private boolean isClickItem;

    private boolean hasSecondMenu = false;

    private Object data; // 当前数据标志位，识别当前点击数据

    public void setData(Object data)
    {
        this.data = data;
    }

    public Object getData()
    {
        return data;
    }

    public void setItemIconBg(int iconBg)
    {
        itemIconBg = iconBg;
    }

    public int getItemIconBg()
    {
        return itemIconBg;
    }

    public void setItemFocusIcon(int focusID)
    {
        itemFocusIcon = focusID;
    }

    public int getItemFocusIcon()
    {
        return itemFocusIcon;
    }

    public void setItemUnFocusIcon(int unfocusID)
    {
        itemUnFocusIcon = unfocusID;
    }

    public int getItemUnFocusIcon()
    {
        return itemUnFocusIcon;
    }

    public void setItemTitle(String title)
    {
        this.title = title;
    }

    public String getItemTitle()
    {
        return title;
    }

    public void setItemState(boolean isClick)
    {
        isClickItem = isClick;
    }

    public boolean getItemState()
    {
        return isClickItem;
    }

    public boolean isHasSecondMenu()
    {
        return hasSecondMenu;
    }

    public void setHasSecondMenu(boolean hasSecondMenu)
    {
        this.hasSecondMenu = hasSecondMenu;
    }

    public int getItemCornerIcon()
    {
        return itemCornerIcon;
    }

    public void setItemCornerIcon(int itemCornerIcon)
    {
        this.itemCornerIcon = itemCornerIcon;
    }
}
